package cn.edu.ujn.finaltest.dao;

import java.util.List;


import cn.edu.ujn.finaltest.dao.BaseDict;

public interface BaseDictMapper {
    int deleteByPrimaryKey(String dict_id);

    int insert(BaseDict row);

    int insertSelective(BaseDict row);

    BaseDict selectByPrimaryKey(String dict_id);

    int updateByPrimaryKeySelective(BaseDict row);

    int updateByPrimaryKey(BaseDict row);
    
    public List<BaseDict> selectBaseDictByTypeCode(String typecode);
        
    public List<BaseDict> selectAll();
    
    /**
     * 根据baseDict的dict_type_code、dict_type_name、dict_item_name
     * @param baseDict
     * @return 匹配baseDict信息BaseDict列表
     */
    public List<BaseDict> selectBaseDictList(BaseDict baseDict);
    //匹配信息的数据字典数目
	public Integer selectBaseDictListCount(BaseDict baseDict);
}